package login

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func Login(c *gin.Context) {
	c.HTML(http.StatusOK, "login/index.tmpl", gin.H{
		"title": "Posts",
	})
}
func Register(c *gin.Context) {
	//loginReq := &models.Login{}
	//loginReq.Name = c.PostForm("name")
	//loginReq.Pwd = c.PostForm("phone")
	//num, _ := strconv.Atoi(c.PostForm("type"))
	//loginReq.Type = num
	//_ = models.JwLogin(loginReq, c)
}
